<!DOCTYPE html>
<html>
<head>
	<title>特码 A</title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="__STATIC__/zh/css/member-1.css">
	<script type="text/javascript" src="__STATIC__/zh/js/jquery-3.2.1.min.js"></script>
	<!-- <script type="text/javascript" src="__STATIC__/js/comment/ti.js"></script> -->
	<link href="__STATIC__/zh/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    	<link href="__STATIC__/zh/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    	<style type="text/css">
    		input{
    			width: 50px;
    			border: 1px solid rgb(33, 150, 243);
    			border-radius: 3px;
    		}

    		.reset>span{
    			border: 1px solid rgb(3, 169, 244);
    			padding: 2px 4px;
    			border-radius: 3px;
    			cursor: pointer;
    		}
    	</style>
</head>
<body>
	 <div class="middle">
    		<div class="head">


    			<div style="width: 15%;float: left;height: 60px;text-align: center;">
		    		<div class="poly">保利</div>
			</div>
			
			<div style="width: 85%;float: left;    margin-top: 38px;position: relative;">
			<div>
				<div  class="arrow-left"></div>
	    			 <div class="memu" >
					<span onclick="aaa()" onMouseOver="color">密码设定</span>
					<span onclick="bbb()">下注状况</span>
					<span onclick="ccc()">账户历史</span>
					<span onclick="ddd()">规则说明</span>
					<span onclick="eee()">会员资料</span>
					<span onclick="fff()">开奖记录</span>
					<span onclick="ggg()">即时开奖</span>
					<span onclick="hhh()">客服</span>
					<span onclick="jjj()">登出</span>
				</div>
			</div>
			<div style="clear: both;"></div>

			<div style="position: relative;">
				<div class="arrow-right"></div>
				<div class="memu1">
					<span onclick="kkk()">特码</span>
					<span onclick="lll()">正码</span>
					<span onclick="nnn()">正码特</span>
					<span onclick="mmm()">正码1-6</span>
					<span onclick="ooo()">正码过关</span>
					<span onclick="ppp()">特码生肖色波头尾数</span>
					<span onclick="qqq()">连码</span>
					<span onclick="rrr()">半波</span>
					<span onclick="sss()">正肖总肖七码</span>
					<span onclick="ttt()">连肖</span>
					<span onclick="uuu()">尾数连</span>
					<span onclick="vvv()">多肖</span>
					<span onclick="www()">一肖尾数七色波</span>
					<span onclick="xxx()">全不中</span>
					<span onclick="zzz()">多中一</span>
				</div>
			</div> 
			<div style="clear: both;"></div>
		</div> 
	</div>
		<script type="text/javascript">

			function aaa(){window.location.href="{:url('index/home/passchange')}"}
			function bbb(){window.location.href="{:url('index/home/condition')}"}
			function ccc(){window.location.href="{:url('index/home/history')}"}
			function ddd(){window.location.href="{:url('index/home/instrction')}"}
			function eee(){window.location.href="{:url('index/home/data')}"}
			function fff(){window.location.href="{:url('index/home/record')}"}
			function ggg(){window.location.href="{:url('index/home/lottery')}"}
			function hhh(){window.location.href="{:url('index/home/Customer')}?page=1"}
			function iii(){window.location.href=""}
			function jjj(){window.location.href="{:url('index/home/login1')}"}

			function kkk(){window.location.href="{:url('index/home/member1')}"}
			function lll(){window.location.href="{:url('index/home/member2')}"}
			function nnn(){window.location.href="{:url('index/home/member3')}"}
			function mmm(){window.location.href="{:url('index/home/member4')}"}
			function ooo(){window.location.href="{:url('index/home/member5')}"}
			function ppp(){window.location.href="{:url('index/home/member6')}"}
			function qqq(){window.location.href="{:url('index/home/member7')}"}
			function rrr(){window.location.href="{:url('index/home/member8')}"}
			function sss(){window.location.href="{:url('index/home/member9')}"}
			function ttt(){window.location.href="{:url('index/home/member10')}"}
			function uuu(){window.location.href="{:url('index/home/member11')}"}
			function vvv(){window.location.href="{:url('index/home/member12')}"}
			function www(){window.location.href="{:url('index/home/member13')}"}
			function xxx(){window.location.href="{:url('index/home/member14')}"}
			function zzz(){window.location.href="{:url('index/home/member15')}"}
		</script>

		
			<div class="left">
			<div style="  width: 100%" >

				<div class="infor">
					<div class="information">
						<div class="username">请检视您的账户</div>
						<table style="width: 100%;background: orange;font-size:14px">
							<thead>
								<tr>
									<td style="text-align: right;">会员账号：</td>
									<td style="text-align: left;">{$user.name}  
										<select name="Characters">
												{eq name="$Characters.c1" value="1"}
												<option value="1">A</option>
												{/eq}
												{eq name="$Characters.c2" value="1"}
												<option value="2">B</option>
												{/eq}
												{eq name="$Characters.c3" value="1"}
												<option value="3">C</option>
												{/eq}
												{eq name="$Characters.c4" value="1"}
												<option value="4">D</option>
												{/eq}
										</select>
									</td>
								</tr>
								<tr>
									<td style="text-align: right;">当前期数：</td>
									<td style="text-align: left;">香港六合彩{$opename}期</td>
								</tr>
								<tr>
									<td style="text-align: right;">信用额度：</td>
									<td style="text-align: left;">{$user.moneys}</td>
								</tr>
								<tr>
									<td style="text-align: right;">已用额度：</td>
									<td style="text-align: left;">{$user.employ}</td>
								</tr>
								<tr>
									<td style="text-align: right;">可用额度：</td>
									<td style="text-align: left;">{$user.m}</td>
								</tr>
								<tr>
									<td colspan="2" style="text-align: center;">请选择下注项目</td>
								</tr>
							</thead>
						</table>
						
						
					</div>
				</div>
					
					<div class="form" style="width: 100%;">
				                        <table style="width: 100%;">
				                            <thead>
				                            <tr>
				                            <td colspan="2">
				                            <div>最近十比交易记录</div>
				                            </td>
				                            <td colspan="2">
											<button class="update">更新</button>
											<button class="shud">x</button>
											</td>
				                            </tr>
				                                <tr class="money">
				                                    <th>时间</th>
				                                    <th>内容</th>
				                                    <th>赔率</th>
				                                    <th>金额</th>
				                                </tr>
				                            </thead>
				                            {foreach $orders as $os}
												<tr class="money" id="money">
													<th>{:date("m-d H:i",$os.times)}</th>
				                                    <th>{$os.bets}</th>
				                                    <th>{$os.rate}</th>
				                                    <th>{$os.price}</th>
												</tr>
											{/foreach}
				                        </table>
					</div>
				</div>
			</div>

			<!-- 模态框 -->
		<div id="modal-overlay"> 
	    	<div class="modal-data">        
		        	<div style="  width: 100%" >
		        		<div style="padding: 10px 0">
					<div class="information" style="background-color: rgb(228, 223, 223)">
						<div style="width: 100%;border-bottom: 1px solid gray;    background: rgb(244, 151, 9) ;   font-weight: bold; font-size: 15px;">
							<table style="width: 100%">
								<tbody>
									<tr style="text-align: center;background:orange">
										下注详细
									</tr>
								</tbody>
							</table>
						</div>

							<div style="width: 100%;border-bottom: 1px solid gray; ">
								<table style="width: 100%">
									<thead>
										<tr class="tan">
											<td>下注方式</td>
											<td>下注内容</td>
											<td>赔率</td>
											<td>下注金额</td>
										</tr>
									</thead>
									<tbody class="xxx">
										
									</tbody>
										<tr>
											<td colspan="4" style="background: orange;">共&ensp;<span id="zongsu"></span>
											&ensp;注&emsp;合计：<span id="smoneys"></span>
											</td>
										</tr>
								</table>
							</div>
							</div>
							<div style="width: 100%;">
								<table style="width: 100%">
									<tbody>
										<tr style="text-align: center;">
											<td>
												<button onclick="removesingle();" class="cencel">取消下注</button>
												<button onclick="confirmsingle();" style="color: green;border:1px solid rgba(0, 188, 212, 0.6);border-radius: 
												3px;">确认下注</button>
											</td>
										</tr>
									</tbody>
								</table>

							</div>
						</div>	
				  </div>
	    	</div>
	</div>
			
			<div class="right">
					<div class="anu">
					<div class="anunon"><span class="run">{foreach $announce as $an}{$an.content}{/foreach}</span></div>
					<button onclick="historynews()">历史消息</button>
				</div>

				<div class="bet">
					<div class="tema" style="    height: 25px;">
						<span style="color: rgb(30, 90, 120);">特码</span>
						<span style="color: white">香港时间:&ensp;<span id="time1" style="color: white;"></span></span>
						<span style="color: white">距截止下注还有   <span class="myDiv"><span id="div1"></span></span></span></span>
						<span id="temab"><a href="{:url('index/home/members1')}">特码  B</a></span>
					</div>
					<div style="clear: both;"></div>


		<div class="number" style="width: 100%; overflow: auto;">
			<div style="width: 100%; overflow-x: auto;">						
		                           <div class="choreography">
		                           	<table style="width: 100%;">
		                           		<tbody>
		                           		 <tr class="money1">
				                                    <th>号码</th>
				                                    <th>赔率</th>
				                                    <th>金额</th></tr>
				                                    <tr class="money2">
				                                    	<td class="Change" id="1">
				                                    		<button class="num" style="background: rgb(220, 50, 40)">1</button>
				                                    	</td>
					                                     <td style="color:red;" class="Change">
					                                     	<button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="1"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
							{/foreach}
				                                      <tr class="money2"><td class="Change" id="2"><button class="num" style="background: rgb(220, 50, 40);">2</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="2"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="3"><button class="num" style="background: blue;">3</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="3"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="4"><button class="num" style="background: blue;">4</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="4"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="5"><button class="num" style="background: green;">5</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="5"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                    <tr class="money2"><td class="Change" id="6"><button class="num" style="   background: green">6</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="6"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                       <tr class="money2"><td class="Change" id="7"><button class="num" style="   background: rgb(220, 50, 40)">7</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="7"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                       <tr class="money2"><td class="Change" id="8"><button class="num" style="background: rgb(220, 50, 40);">8</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="8"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                     <tr class="money2"><td class="Change" id="9"><button class="num" style="background: blue;">9</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="9"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="10"><button class="num" style="background: blue;">10</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="10"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                </tr>
			                          	</tbody>
			                          </table>
				</div>

				<div class="choreography">
		                           	<table style="width: 100%;">
		                           		<tbody>
		                           		<tr class="money1">
				                                    <th>号码</th>
				                                    <th>赔率</th>
				                                    <th>金额</th></tr>
				                                    <tr class="money2"><td class="Change" id="11"><button class="num" style="   background: green">11</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="11"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="12"><button class="num" style="background: rgb(220, 50, 40);">12</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="12"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="13"><button class="num" style="background: rgb(220, 50, 40);">13</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="13"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="14"><button class="num" style="background: blue;">14</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="14"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="15"><button class="num" style="background:blue;">15</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="15"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                    <tr class="money2"><td class="Change" id="16"><button class="num" style="   background: green">16</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="16"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                       <tr class="money2"><td class="Change" id="17"><button class="num" style="   background: green">17</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="17"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                       <tr class="money2"><td class="Change" id="18"><button class="num" style="background: rgb(220, 50, 40);">18</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="18"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                     <tr class="money2"><td class="Change" id="19"><button class="num" style="background:rgb(220, 50, 40);">19</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="19"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="20"><button class="num" style="background: blue;">20</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="20"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                </tr>
			                          	</tbody>
			                          </table>
				</div>

				
				<div class="choreography">
		                           	<table style="width: 100%;">
		                           		<tbody>
		                           		<tr class="money1">
				                                    <th>号码</th>
				                                    <th>赔率</th>
				                                    <th>金额</th></tr>
				                                    <tr class="money2"><td class="Change" id="21"><button class="num" style="   background: green">21</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="21"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="22"><button class="num" style="background: green;">22</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="22"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="23"><button class="num" style="background: rgb(220, 50, 40);">23</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="23"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="24"><button class="num" style="background: rgb(220, 50, 40);">24</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="24"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="25"><button class="num" style="background:blue;">25</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="25"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                    <tr class="money2"><td class="Change" id="26"><button class="num" style="   background: blue">26</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="26"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                       <tr class="money2"><td class="Change" id="27"><button class="num" style="   background: green">27</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="27"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                       <tr class="money2"><td class="Change" id="28"><button class="num" style="background: green;">28</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="28"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                     <tr class="money2"><td class="Change" id="29"><button class="num" style="background:rgb(220, 50, 40);">29</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="29"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="30"><button class="num" style="background: rgb(220, 50, 40);">30</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="30"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                </tr>
			                          	</tbody>
			                          </table>
				</div>

				<div class="choreography">
		                           	<table style="width: 100%;">
		                           		<tbody>
		                           		<tr class="money1">
				                                    <th>号码</th>
				                                    <th>赔率</th>
				                                    <th>金额</th></tr>
				                                    <tr class="money2"><td class="Change" id="31"><button class="num" style="   background: blue">31</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="31"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="32"><button class="num" style="background: green;">32</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="32"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="33"><button class="num" style="background: green;">33</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="33"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="34"><button class="num" style="background: rgb(220, 50, 40);">34</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="34"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="35"><button class="num" style="background:rgb(220, 50, 40);">35</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="35"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                    <tr class="money2"><td class="Change" id="36"><button class="num" style="   background: blue">36</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="36"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                       <tr class="money2"><td class="Change" id="37"><button class="num" style="   background: blue">37</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="37"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                       <tr class="money2"><td class="Change" id="38"><button class="num" style="background: green;">38</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="38"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                     <tr class="money2"><td class="Change" id="39"><button class="num" style="background:green;">39</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="39"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="40"><button class="num" style="background: rgb(220, 50, 40);">40</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="40"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                </tr>
			                          	</tbody>
			                          </table>
				</div>

				<div class="choreography">
		                           	<table style="width: 100%;">
		                           		<tbody>
		                           		<tr class="money1">
				                                    <th>号码</th>
				                                    <th>赔率</th>
				                                    <th>金额</th></tr>
				                                    <tr class="money2"><td class="Change" id="41"><button class="num" style="   background: blue">41</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="41"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="42"><button class="num" style="background: blue;">42</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="42"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="43"><button class="num" style="background: green;">43</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="43"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="44"><button class="num" style="background: green;">44</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="44"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                      <tr class="money2"><td class="Change" id="45"><button class="num" style="background:rgb(220, 50, 40);">45</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="45"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                    <tr class="money2"><td class="Change" id="46"><button class="num" style="   background: rgb(220, 50, 40)">46</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="46"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                       <tr class="money2"><td class="Change" id="47"><button class="num" style="   background: blue">47</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="47"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                       <tr class="money2"><td class="Change" id="48"><button class="num" style="background: blue;">48</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="48"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                     <tr class="money2"><td class="Change" id="49"><button class="num" style="background:green;">49</button></td>
				                                     <td style="color:red;" class="Change"><button class="dian dian0">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="49"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                    <tr><td colspan="3" style="background: white;text-align: center;">
								<button style="color: green;    outline: 0;" onclick="betting()">下注</button>
				                                    		<button style="color: red;    outline: 0;" id="new1">重置</button>
				                                    </td></tr>
			                          	</tbody>
			                          </table>
				</div> 
				<div style="clear: both;"></div>                            
				
						<div style="width: 100%" class="other">
						<div class="daxiao">
				                            <table style=" width: 100%">
							 <tbody>
				                                <tr class="money2">
				                                    <td><div class="tedan">特单</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian1">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="52"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                <tr class="money2">
				                                    <td><div class="tedan">合单</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian1">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="56"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
						     <tr class="money2">
				                                    <td><div class="tedan">大单</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian2">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="67"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                <tr class="money2">
				                                    <td><div class="tedan">特尾大</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian3">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="50"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                    </tbody>
				                              </table>
						</div>

						<div class="daxiao">
				                            <table style=" width: 100%">
							 <tbody>
				                                <tr class="money2">
				                                     <td><div class="tedan">特双</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian1">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="53"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                <tr class="money2">
				                                    <td><div class="tedan">合双</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian1">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="57"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
						     <tr class="money2">
				                                    <td><div class="tedan">大双</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian2">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="68"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                <tr class="money2">
				                                     <td><div class="tedan">特尾小</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian3">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="51"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                    </tbody>
				                              </table>
						</div>

						<div class="daxiao">
				                            <table style=" width: 100%">
							 <tbody>
				                                <tr class="money2">
				                                      <td><div class="tedan">特大</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian1">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="54"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                <tr class="money2">
				                                <td><div class="tedan">合大</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian1">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="57"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
						     <tr class="money2">
				                                     <td><div class="tedan">小单</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian2">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="69"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                   
				                                    </tbody>
				                              </table>
						</div>

						<div class="daxiao">
				                            <table style=" width: 100%">
							 <tbody>
				                                <tr class="money2">
				                                       <td><div class="tedan">特小</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian1">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="55"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                               <tr class="money2">
				                                  <td><div class="tedan">合小</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian1">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="66"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
						     <tr class="money2">
				                                     <td><div class="tedan">小双</div></td>
				                                    <td style="color:red;" class="Change"><button class="dian dian2">{foreach $resultA as $resA}
										{eq name="$resA.bets" value="70"}{$resA.ra}</button>
				                                    <td><input type="text" data-id="{$resA.bets}" value="" data-ra="{$resA.ra}" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num"></td></tr>
				                                    {/eq}
													{/foreach}
				                                  <tr class="money2" >
				                                    	<td colspan="6" style="background: white;">
								<button style="color: green;outline: 0;margin-right: 20px;" onclick="betting()">下注</button>
				                            		<button style="color: blue;outline: 0;">发送</button>
				                            	</td></tr>
				                                    </tbody>
				                              </table>
						</div>
						<div style="clear: both;"></div>
			                               
				                                    
				                                       
							
				  		</div>
					<div style="clear: both;"></div>
					<div style="text-align: center; font-size:14px;">
					<table style="width: 100%;" >
						<tbody>
						<tr>
						<td>
						<div style="font-size: 12px;">快速下单：格式->01=100  02=200 (01号100元，02号200元，10号100元，每一注以空格分离，等于号前面位为号码，后边为金额。)</div>
						<textarea name="textfield3" cols="10" rows="6" style="width: 100%"></textarea>
						</td>
						</tr>
						</tbody>
						
					</table>
					</div>
					</div>
					<div style="clear: both;"></div>
					</div>
					</div>
					</div>


			<div class="last">
			<div>
				<div class="choose">快速选择</div>
				<div class="zodiac">生肖</div>
				<div style="background:white; ">
				<table style="width: 100%;">
					<tbody>
						<tr class="chinese">
					                     <td><button class="but">鼠</button></td>
					                     <td><button class="but">牛</button></td>
					                     <td><button class="but">虎</button></td>
					                     <td><button class="but">兔</button></td>
					                     <td><button class="but">龙</button></td>
					                     <td><button class="but">蛇</button></td>
					           </tr>
					           <tr class="chinese">
					                     <td><button class="but">马</button></td>
					                     <td><button class="but">羊</button></td>
					                     <td><button class="but">猴</button></td>
					                     <td><button class="but">鸡</button></td>
					                     <td><button class="but">狗</button></td>
					                     <td><button class="but">猪</button></td>
					           </tr>
				           </tbody>
				</table>
				</div>

				<div class="zodiac">色波大小单双</div>
				<div style="background:white; ">
				<table style="width: 100%;">
					<tbody>
						<tr class="chinese">
					                     <td><button class="but">红</button></td>
					                     <td><button class="but">蓝</button></td>
					                     <td><button class="but">绿</button></td>
					                     <td></td>
					                     <td><button class="but">合单</button></td>
					                     <td><button class="but">合双</button></td>
					           </tr>
						<tr class="chinese">
					                     <td><button class="but">大</button></td>
					                     <td><button class="but">小</button></td>
					                     <td><button class="but">单</button></td>
					                     <td><button class="but">双</button></td>
					                     <td><button class="but">合大</button></td>
					                     <td><button class="but">合小</button></td>
					           </tr>
				           </tbody>
				</table>
				</div>

				<div class="zodiac">半波</div>
				<div style="background:white;">
				<table style="width: 100%;">
					<tbody>
						<tr class="chinese">
					                     <td><button class="but">红单</button></td>
					                     <td><button class="but">红双</button></td>
					                     <td><button class="but">红大</button></td>
					                     <td><button class="but">红小</button></td>
					                     <td><button class="but">蓝单</button></td>
					                     <td><button class="but">蓝双</button></td>
					           </tr>
						<tr class="chinese">
					                     <td><button class="but">蓝大</button></td>
					                     <td><button class="but">蓝小</button></td>
					                     <td><button class="but">绿单</button></td>
					                     <td><button class="but">绿双</button></td>
					                     <td><button class="but">绿大</button></td>
					                     <td><button class="but">绿小</button></td>
					           </tr>
				           </tbody>
				</table>
				</div>

				<div class="zodiac">头尾数</div>
				<div style="background:white;">
				<table style="width: 100%;">
					<tbody>
						<tr class="chinese">
					                     <td><button class="but">0头</button></td>
					                     <td><button class="but">1头</button></td>
					                     <td><button class="but">2头</button></td>
					                     <td><button class="but">3头</button></td>
					                     <td><button class="but">4头</button></td>
					                     <td><button class="but"></button></td>
					           </tr>
				           </tbody>
				           <tbody>
						<tr class="chinese">
					                     <td><button class="but">0尾</button></td>
					                     <td><button class="but">1尾</button></td>
					                     <td><button class="but">2尾</button></td>
					                     <td><button class="but">3尾</button></td>
					                     <td><button class="but">4尾</button></td>
					                     <td><button class="but">5尾</button></td>
					           </tr>
				           </tbody>
				            <tbody>
						<tr class="chinese">
					                     <td><button class="but">6尾</button></td>
					                     <td><button class="but">7尾</button></td>
					                     <td><button class="but">8尾</button></td>
					                     <td><button class="but">9尾</button></td>
					                     <td></td>
					                     <td></td>
					           </tr>
				           </tbody>
				</table>
				</div>

				<div class="zodiac">其它</div>
				<div style="background:white;">
				<table style="width: 100%;">
					<tbody>
						<tr class="chinese">
					                     <td><button class="but">大单</button></td>
					                     <td><button class="but">大双</button></td>
					                     <td><button class="but">小单</button></td>
					                     <td><button class="but">小双</button></td>
					                     <td><button class="but">家禽</button></td>
					                     <td><button class="but">野兽</button></td>
					           </tr>
				           </tbody>
				           <tbody>
						<tr class="chinese">
					                     <td><button class="but">红单大</button></td>
					                     <td><button class="but">红单小</button></td>
					                     <td><button class="but">红双大</button></td>
					                     <td><button class="but">红双小</button></td>
					                     <td><button class="but">蓝单大</button></td>
					                     <td><button class="but">蓝单小</button></td>
					           </tr>
						<tr class="chinese">
					                     <td><button class="but">蓝双大</button></td>
					                     <td><button class="but">蓝双小</button></td>
					                     <td><button class="but">绿单大</button></td>
					                     <td><button class="but">绿单小</button></td>
					                     <td><button class="but">绿双大</button></td>
					                     <td><button class="but">绿双小</button></td>
					           </tr>
				           </tbody>
				</table>
				<div class="reset" >
						<span style="border: 0">金额:</span>
						<input type="text" id="fasong" value="" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num">
						<span style="color: black;" id="fsong">发送</span>
						<span type="button"  style="color: green;outline: 0;;"onclick="betting()">下注</span>
						<span style="color: red;" id="new">重置</span>
					
				</div>
			</div>
			<div>
			
				     		
				

    		<div style="    position: absolute;width: 20px;top: 80px;left: -18px;    background: rgb(240,240,240);text-align: center ;border-radius: 4px;font-size: 16px;"><a href="javascript:void(0);" id="lol" class="dianji" "="" style="right: 138px;text-decoration:none;color: orange;font-weight:bold">快速选择</a><div style="clear: both;"></div>

    		<div id="news">
    			<div class="new">
    				<div class="down">x</div>
				<div class="newtime">
					<span>{foreach $announce as $an}{$an.content}{/foreach}</span>
				</div>
				<div class="oldtime">
					
				</div>
    			</div>
    		</div>

		<!-- 全局js -->
		<script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
		<script src="__STATIC__/js/bootstrap.min.js?v=3.3.6"></script>

				<script type="text/javascript">
			var jine = ''
		    var dataTime = {$s};
		    //时间戳转dddd-mm-dd HH24:hh:MM:ss
		    var d = new Date(dataTime * 1000);
		    var date = (d.getFullYear()) + "-" + (d.getMonth() + 1) + "-" + (d.getDate()) + "-" + (d.getHours()) + ":" + (d.getMinutes()) + ":" + (d.getSeconds());
		    var startTime = date;
		    console.info(startTime)
		    function count() {
		        var currTime = new Date(); //当前时间  
		        //将xxxx-xx-xx的时间格式，转换为 xxxx/xx/xx的格式  
		        startTime = startTime.replace(/\-/g, "/");
		        var sTime = new Date(startTime);
		        var totalTime = sTime.getTime() - currTime.getTime();
		        var days = parseInt(totalTime / parseInt(1000 * 60 * 60 * 24));
		        totalTime = totalTime % parseInt(1000 * 60 * 60 * 24);
		        var hours = parseInt(totalTime / parseInt(1000 * 60 * 60));
		        totalTime = totalTime % parseInt(1000 * 60 * 60);
		        var minutes = parseInt(totalTime / parseInt(1000 * 60));
		        totalTime = totalTime % parseInt(1000 * 60);
		        var seconds = parseInt(totalTime / parseInt(1000));
		        var time = "";
		        if(days<1&& hours >= 1){
		            time = hours + "时" + minutes + "分" + seconds + "秒";
		        }else if(hours<1&&minutes >= 1){
		            time = minutes + "分" + seconds + "秒";
		        }else{
		             time = seconds + "秒";
		        }
		        document.getElementById("div1").innerHTML = "" + time + " 结束";
		        setTimeout("count()", 1000);
		    }
		    window.onload = count;
    	</script>

		
		<script type="text/javascript">
			// 判断是否给踢线
		window.setInterval(show,5000); 
		function show(){ 
			$.getJSON("{:url('index/login/sta')}",function(result){
				console.log(result);
				if(result==false) window.location.href="{:url('index/login/logout')}";
			})
		}
			var fals = 1;
			var data;
			var price = 0;
			var storage=window.localStorage;
			var items = [];
			var item_template='<tr class="xiaz"><td><span class="z1">特码</span></td><td><span class="z2">[index]</span></td><td><span class="z3" style="color:red;">[rate]</span></td><td><span class="z4">[price]</span></td></tr>';
			var item_money = '<th>[time]</th><th>[content]</th><th>[rate]</th><th>[price]</th>';
			//历史消息模态框
			$('.down').click(function(){
				var e1 = document.getElementById('news');        
				e1.style.visibility = (e1.style.visibility == "hidden")? "visible" : "hidden";
			})

			function historynews(){
				var e1 = document.getElementById('news');        
				e1.style.visibility = (e1.style.visibility == "visible")? "hidden" : "visible";
			}
			$(function(){ 
			      // 页面加载后清空
			     localStorage.clear(); 
			     $('select[name=Characters]').val({$a});
			});
			function removesingle(){
				// 取消下注
				localStorage.clear();
				fals=1;
				document.location.reload();
			}
			$('.update').click(function(){
				document.location.reload();
			})
			//下注模态框
			function betting(){
				if(fals==1){
					fals = 0;
					localStorage.clear();
				var e1 = document.getElementById('modal-overlay');            
				e1.style.visibility = (e1.style.visibility == "visible")? "hidden" : "visible";
				  $('.left').css('display','none');
				  $('#modal-overlay').css('display','block');

				  $('.cencel').click(function(){
				var e1 = document.getElementById('modal-overlay');        
				e1.style.visibility = (e1.style.visibility == "hidden")? "visible" : "hidden";
				$('.left').css('display','block');
				$('#modal-overlay').css('display','none');
				})
				  var item1;
				   // 获取下标和存在的值
				   var i = 0;
					$("input[name=num]").each(function(index,item){
						 var index = $(this).attr("data-id");
			        	 // console.log(index);
						 var price = item.value;
					     var rate = $(this).attr("data-ra");
					     var Characters = $('select[name=Characters]').val();
					     rate = parseFloat(rate);
					     // console.log("盘口"+Characters)					   
					     if(item.value!="" || item.value!=0){
					         var data = {
					         	'andicap':Characters,
					         	'bet':"1",
					         	'colums':"1",
					         	'bets':index,
					         	'price':item.value,
					         	'rate':rate
					         }
					         items.push(data);
					         items = JSON.stringify(items);
					         storage.setItem("items",items);
					         items = JSON.parse(storage.getItem("items"));
					         for(var i =0;i<items.length;i++){
					         	items[i]["rate"] = rate;
					         }
				        	 item1= items;
					     }
				    }) 
					adapitmes(item1);
				}
				
			}
			var uprice = 0;
			var lengths = 0;
			function adapitmes(item){
				// console.log(item);
				$(".xxx").html("");
				if(!item){
					// document.location.reload();
					fals = 1;
					return;
				}
				for (var i = 0; i < item.length; i++) {
					var items = item[i];
					var itp = item_template;
					if(items.bets<50){
						items.betx = "特码"+items.bets;
					}
					if(items.bets==52){
						items.betx = "特单";
					}
					if(items.bets==53){
						items.betx = "特双";
					}
					if(items.bets==54){
						items.betx = "特大";
					}
					if(items.bets==55){
						items.betx = "特小";
					}
					if(items.bets==56){
						items.betx = "合单";
					}
					if(items.bets==57){
						items.betx = "合双";
					}
					if(items.bets==65){
						items.bet = "合大";
					}
					if(items.bets==66){
						items.betx = "合小";
					}
					if(items.bets==67){
						items.betx = "大单";
					}
					if(items.bets==68){
						items.betx = "大双";
					}
					if(items.bets==69){
						items.betx = "小单";
					}
					if(items.bets==70){
						items.betx = "小双";
					}
					if(items.bets==50){
						items.betx = "特尾大";
					}
					if(items.bets==51){
						items.betx = "特尾小";
					}
					itp = itp.replace('[index]',items.betx);
					itp = itp.replace('[price]',items.price);
					itp = itp.replace('[rate]',items.rate);
					$('.xxx').append(itp);
					price = parseInt(items.price);
					console.log(price)
					uprice += price;
					// console.log(uprice);
				}
				lengths = item.length;
				$("#smoneys").html(uprice);
				$("#zongsu").html(lengths);
			}
			function confirmsingle(){
				var dats = storage.getItem("items");
				localStorage.clear();
				fals=1;
				// 确认下注
				console.log(dats);
				$.post('{:url("index/Uploads/uplaodszt")}',{data:dats},function(res){
					console.log(res)
					// document.location.reload();
					if(res==1){
						alert("订单列表为空不能下注");
						document.location.reload();
					}else if(res==2){
						alert('订单最低限额不能低于2');
						document.location.reload();
					}else if(res==0){
						alert('下注失败，余额不足');
						document.location.reload();
					}else if(res==8){
						alert('下注失败,不能投注');
						document.location.reload();
					}
					
					if(res=="success"){
						var e11 = document.getElementById('modal-overlay');        
						e11.style.visibility = (e11.style.visibility == "hidden")? "visible" : "hidden";
						$('.left').css('display','block');
						alert('下注成功');
						document.location.reload();
					}
				})
			}
			$('select[name=Characters]').click(function(){
				var s = $(this).val();
				if(s==1){
					window.location.href="{:url('index/home/member1')}?andicap=1";
				}
				if(s==2){
					window.location.href="{:url('index/home/member1')}?andicap=2";
				}
				if(s==3){
					window.location.href="{:url('index/home/member1')}?andicap=3";
				}
				if(s==4){
					window.location.href="{:url('index/home/member1')}?andicap=4";
				}
			})
			$("#new1").click(function(){
				$("input[type=text]").val("");
				items = [];
				localStorage.clear();
				console.log(items);
			})
			$('.cencel').click(function(){
				var e1 = document.getElementById('modal-overlay');        
				e1.style.visibility = (e1.style.visibility == "hidden")? "visible" : "hidden";
				$('.left').css('display','block');
				fals=1;
			})
			// 
			//快速选择框缩进
			        var flag =false
			        $('#lol').click(function(){
			          if(flag){
			            $('.last').animate({    
			              'right':'0px'
			            },500)
			            flag = false
			          }else{
			            $('.last').animate({
			              'right':'-300px'
			            },500)
			            flag = true
			          }
			            })
			            $(function(){
			            	$('#lol').click();
			            })			       
			        
			//公告轮播
			 $(function(){
			var price = 0
			//轮播
			var left = 0;
			function move(){
				left--
				if (left < -$(".run").width()) {
					left = 0
				}
				$(".run").css("left",left+"px")
			}
			setInterval(move,40)
		})
		</script>

		<script type="text/javascript">

		//实时时间
		function mytime(){
		        var a = new Date();
		        var b = a.toLocaleTimeString();
		        var c = a.toLocaleDateString();
		        document.getElementById("time1").innerHTML = c+"&nbsp"+b;
		        }
		    setInterval(function() {mytime()},1000);
	 

		//点击改变背景颜色		
		             $(".Change").click(function(){
		             	$(this).css("background-color","orange");//设置点击td的颜色
		             })
		            //快速选择
		             $(".Change").css("background-color","#d8d8d8");
		             $('.but').click(function(){
		             	$(".but").css("background-color","#d8d8d8");
		             	$(".Change").css("background-color","#d8d8d8");
		             	$(this).css("background-color","orange");
		             	var va = $(this).html();
		             	$("#new").click(function(){
         				$(".but").css("background-color","rgb(216,216,216)")
         				$('input[name=num]').val('')
         				$("#fasong").val("")
		            	 })

		             	switch(va)
			{
			    	case "鼠":
				        	$("#11,#23,#35,#47").css("background-color","orange");
		             		        	jine = $("#11,#23,#35,#47").siblings().children("input")
			       	 break;
			    	case "牛":
			        		$("#10,#22,#34,#46").css("background-color","orange");
	             		        		jine = $("#10,#22,#34,#46").siblings().children("input");
			        	break;
			    	case "虎":
			        		$("#9,#21,#33,#45").css("background-color","orange");
		                       		jine = $("#9,#21,#33,#45").siblings().children("input");
			        	break;
			        	case "兔":
			        		$("#8,#20,#32,#44").css("background-color","orange");
		                       		jine = $("#8,#20,#32,#44").siblings().children("input");
			        	break;
			        	case "龙":
			        		$("#7,#19,#31,#43").css("background-color","orange");
		                       		jine = $("#7,#19,#31,#43").siblings().children("input");
			        	break;
			        	case "蛇":
			        		$("#6,#18,#30,#42").css("background-color","orange");
		                       		jine = $("#6,#18,#30,#42").siblings().children("input");
			        	break;
			        	case "马":
			        		$("#5,#17,#29,#41").css("background-color","orange");
		                       		jine = $("#5,#17,#29,#41").siblings().children("input");
			        	break;
			        	case "羊":
			        		$("#4,#16,#28,#40").css("background-color","orange");
		                       		jine = $("#4,#16,#28,#40").siblings().children("input");
			        	break;
			        	case "猴":
			        		$("#3,#15,#27,#39").css("background-color","orange");
		                       		jine = $("#3,#15,#27,#39").siblings().children("input");
			        	break;
			        	case "鸡":
			        		$("#2,#14,#26,#38").css("background-color","orange");
		                       		jine = $("#2,#14,#26,#38").siblings().children("input");
			        	break;
			        	case "狗":
			        		$("#1,#13,#25,#37,#49").css("background-color","orange");
		                       		jine = $("#1,#13,#25,#37,#49").siblings().children("input");
			        	break;
			        	case "猪":
			        		$("#12,#24,#36,#48").css("background-color","orange");
		                       		jine = $("#12,#24,#36,#48").siblings().children("input");
			        	break;
			        	//色波大小单双
			        	case "红":
			        		$("#1,#2,#7,#8,#12,#13,#18,#19,#23,#24,#29,#30,#34,#35,#40,#45,#46").css("background-color","orange");
		                       		jine = $("#1,#2,#7,#8,#12,#13,#18,#19,#23,#24,#29,#30,#34,#35,#40,#45,#46").siblings().children("input");
			        	break;
			        	case "蓝":
			        		$("#3,#4,#9,#10,#14,#15,#20,#25,#26,#31,#36,#37,#41,#42,#47,#48").css("background-color","orange");
		                       		jine = $("#3,#4,#9,#10,#14,#15,#20,#25,#26,#31,#36,#37,#41,#42,#47,#48").siblings().children("input");
			        	break;
			        	case "绿":
			        		$("#5,#6,#11,#16,#17,#21,#22,#27,#28,#32,#33,#38,#39,#43,#44,#49").css("background-color","orange");
		                       		jine = $("#5,#6,#11,#16,#17,#21,#22,#27,#28,#32,#33,#38,#39,#43,#44,#49").siblings().children("input");
			        	break;
			        	case "合单":
			        		$("#1,#3,#5,#7,#9,#10,#12,#14,#16,#18,#21,#23,#25,#27,#29,#30,#32,#34,#36,#38,#41,#43,#45,#47,#49").css("background-color","orange");
		                       		jine = $("#1,#3,#5,#7,#9,#10,#12,#14,#16,#18,#21,#23,#25,#27,#29,#30,#32,#34,#36,#38,#41,#43,#45,#47,#49").siblings().children("input");
			        	break;
			        	case "合双":
			        		$("#2,#4,#6,#8,#11,#13,#15,#17,#19,#20,#22,#24,#26,#28,#31,#33,#35,#37,#39,#40,#42,#44,#46,#48").css("background-color","orange");
		                       		jine = $("#2,#4,#6,#8,#11,#13,#15,#17,#19,#20,#22,#24,#26,#28,#31,#33,#35,#37,#39,#40,#42,#44,#46,#48").siblings().children("input");
			        	break;
			        	case "大":
			        		$("#25,#26,#27,#28,#29,#30,#31,#32,#33,#34,#35,#36,#37,#38,#39,#40,#41,#42,#43,#44,#45,#46,#47,#48,#49").css("background-color","orange");
		                       		jine = $("#25,#26,#27,#28,#29,#30,#31,#32,#33,#34,#35,#36,#37,#38,#39,#40,#41,#42,#43,#44,#45,#46,#47,#48,#49").siblings().children("input");
			        	break;
			        	case "小":
			        		$("#1,#2,#3,#4,#5,#6,#7,#8,#9,#10,#11,#12,#13,#14,#15,#16,#17,#18,#19,#20,#21,#22,#23,#24").css("background-color","orange");
		                       		jine = $("#1,#2,#3,#4,#5,#6,#7,#8,#9,#10,#11,#12,#13,#14,#15,#16,#17,#18,#19,#20,#21,#22,#23,#24").siblings().children("input");
			        	break;
			        	case "单":
			        		$("#1,#3,#5,#7,#9,#11,#13,#15,#17,#19,#21,#23,#25,#27,#29,#31,#33,#35,#37,#39,#41,#43,#45,#47,#49").css("background-color","orange");
		                       		jine = $("#1,#3,#5,#7,#9,#11,#13,#15,#17,#19,#21,#23,#25,#27,#29,#31,#33,#35,#37,#39,#41,#43,#45,#47,#49").siblings().children("input");
			        	break;
			        	case "双":
			        		$("#2,#4,#6,#8,#10,#12,#14,#16,#18,#20,#22,#24,#26,#28,#30,#32,#34,#36,#38,#40,#42,#44,#46,#48").css("background-color","orange");
		                       		jine = $("#2,#4,#6,#8,#10,#12,#14,#16,#18,#20,#22,#24,#26,#28,#30,#32,#34,#36,#38,#40,#42,#44,#46,#48").siblings().children("input");
			        	break;
			        	case "合大":
			        		$("#7,#8,#16,#17,#18,#19,#25,#26,27,#28,#29,#34,#35,#36,#37,#38,#39,#43,#44,#45,#46,#47,#48,#49").css("background-color","orange");
		                       		jine = $("#7,#8,#16,#17,#18,#19,#25,#26,27,#28,#29,#34,#35,#36,#37,#38,#39,#43,#44,#45,#46,#47,#48,#49").siblings().children("input");
			        	break;
			        	case "合小":
			        		$("#1,#2,#3,#4,#5,#6,#10,#11,#12,#13,#14,#15,#20,#21,#22,#23,#24,#30,#31,#32,#33,#40,#41,#42").css("background-color","orange");
		                       		jine = $("#1,#2,#3,#4,#5,#6,#10,#11,#12,#13,#14,#15,#20,#21,#22,#23,#24,#30,#31,#32,#33,#40,#41,#42").siblings().children("input");
			        	break;
			        	//半波
			        	case "红单":
			        		$("#1,#7,#13,#19,#23,#29,#35,#45").css("background-color","orange");
		                       		jine = $("#1,#7,#13,#19,#23,#29,#35,#45").siblings().children("input");
			        	break;
			        	case "红双":
			        		$("#2,#8,#12,#18,#24,#30,#34,#40,#46").css("background-color","orange");
		                       		jine = $("#2,#8,#12,#18,#24,#30,#34,#40,#46").siblings().children("input");
			        	break;
			        	case "红大":
			        		$("#29,#30,#34,#35,#40,#45,#46").css("background-color","orange");
		                       		jine = $("#29,#30,#34,#35,#40,#45,#46").siblings().children("input");
			        	break;
			        	case "红小":
			        		$("#1,#2,#7,#8,#12,#13,#18,#19,#23,#24").css("background-color","orange");
		                       		jine = $("#1,#2,#7,#8,#12,#13,#18,#19,#23,#24").siblings().children("input");
			        	break;
			        	case "蓝单":
			        		$("#3,#9,#15,#25,#31,#37,#41,#47").css("background-color","orange");
		                       		jine = $("#3,#9,#15,#25,#31,#37,#41,#47").siblings().children("input");
			        	break;
			        	case "蓝双":
			        		$("#4,#10,#14,#20,#26,#36,#42,#48").css("background-color","orange");
		                       		jine = $("#4,#10,#14,#20,#26,#36,#42,#48").siblings().children("input");
			        	break;
			        	case "蓝大":
			        		$("#25,#26,#31,#36,#37,#41,#42,#47,#48").css("background-color","orange");
		                       		jine = $("#25,#26,#31,#36,#37,#41,#42,#47,#48").siblings().children("input");
			        	break;
			        	case "蓝小":
			        		$("#3,#4,#9,#10,#14,#15,#20").css("background-color","orange");
		                       		jine = $("#3,#4,#9,#10,#14,#15,#20").siblings().children("input");
			        	break;
			        	case "绿单":
			        		$("#5,#11,#17,#21,#27,#33,#39,#43,#49").css("background-color","orange");
		                       		jine = $("#5,#11,#17,#21,#27,#33,#39,#43,#49").siblings().children("input");
			        	break;
			        	case "绿双":
			        		$("#6,#16,#22,#28,#32,#38,#44").css("background-color","orange");
		                       		jine = $("#6,#16,#22,#28,#32,#38,#44").siblings().children("input");
			        	break;
			        	case "绿大":
			        		$("#27,#28,#32,#33,#38,#39,#43,#44,#49").css("background-color","orange");
		                       		jine = $("#27,#28,#32,#33,#38,#39,#43,#44,#49").siblings().children("input");
			        	break;
			        	case "绿小":
			        		$("#5,#6,#11,#16,#17,#21,#22").css("background-color","orange");
		                       		jine = $("#5,#6,#11,#16,#17,#21,#22").siblings().children("input");
			        	break;
			        	//头尾数
			        	case "0头":
			        		$("#1,#2,#3,#4,#5,#6,#7,#8,#9").css("background-color","orange");
		                       		jine = $("#1,#2,#3,#4,#5,#6,#7,#8,#9").siblings().children("input");
			        	break;
			        	case "1头":
			        		$("#10,#11,#12,#13,#14,#15,#16,#17,#18,#19").css("background-color","orange");
		                       		jine = $("#10,#11,#12,#13,#14,#15,#16,#17,#18,#19").siblings().children("input");
			        	break;
			        	case "2头":
			        		$("#20,#21,#22,#23,#24,#25,#26,#27,#28,#29").css("background-color","orange");
		                       		jine = $("#20,#21,#22,#23,#24,#25,#26,#27,#28,#29").siblings().children("input");
			        	break;
			        	case "3头":
			        		$("#30,#31,#32,#33,#34,#35,#36,#37,#38,#39").css("background-color","orange");
		                       		jine = $("#30,#31,#32,#33,#34,#35,#36,#37,#38,#39").siblings().children("input");
			        	break;
			        	case "4头":
			        		$("#40,#41,#42,#43,#44,#45,#46,#47,#48,#49").css("background-color","orange");
		                       		jine = $("#40,#41,#42,#43,#44,#45,#46,#47,#48,#49").siblings().children("input");
			        	break;
			        	case "0尾":
			        		$("#10,#20,#30,#40").css("background-color","orange");
		                       		jine = $("#10,#20,#30,#40").siblings().children("input");
			        	break;
			        	case "1尾":
			        		$("#1,#11,#21,#31,#41").css("background-color","orange");
		                       		jine = $("#1,#11,#21,#31,#41").siblings().children("input");
			        	break;
			        	case "2尾":
			        		$("#2,#12,#22,#32,#42").css("background-color","orange");
		                       		jine = $("#2,#12,#22,#32,#42").siblings().children("input");
			        	break;
			        	case "3尾":
			        		$("#3,#13,#23,#33,#43").css("background-color","orange");
		                       		jine = $("#3,#13,#23,#33,#43").siblings().children("input");
			        	break;
			        	case "4尾":
			        		$("#4,#14,#24,#34,#44").css("background-color","orange");
		                       		jine = $("#4,#14,#24,#34,#44").siblings().children("input");
			        	break;
			        	case "5尾":
			        		$("#5,#15,#25,#35,#45").css("background-color","orange");
		                       		jine = $("#5,#15,#25,#35,#45").siblings().children("input");
			        	break;
			        	case "6尾":
			        		$("#6,#16,#26,#36,#46").css("background-color","orange");
		                       		jine = $("#6,#16,#26,#36,#46").siblings().children("input");
			        	break;
			        	case "7尾":
			        		$("#7,#17,#27,#37,#47").css("background-color","orange");
		                       		jine = $("#7,#17,#27,#37,#47").siblings().children("input");
			        	break;
			        	case "8尾":
			        		$("#8,#18,#28,#38,#48").css("background-color","orange");
		                       		jine = $("#8,#18,#28,#38,#48").siblings().children("input");
			        	break;
			        	case "9尾":
			        		$("#9,#19,#29,#39,#49").css("background-color","orange");
		                       		jine = $("#9,#19,#29,#39,#49").siblings().children("input");
			        	break;
			        	//其它
			        	case "大单":
			        		$("#25,#27,#29,#31,#33,#35,#37,#39,#41,#43,#45,#47,#49").css("background-color","orange");
		                       		jine = $("#25,#27,#29,#31,#33,#35,#37,#39,#41,#43,#45,#47,#49").siblings().children("input");
			        	break;
			        	case "大双":
			        		$("#26,#28,#30,#32,#34,#36,#38,#40,#42,#44,#46,#48").css("background-color","orange");
		                       		jine = $("#26,#28,#30,#32,#34,#36,#38,#40,#42,#44,#46,#48").siblings().children("input");
			        	break;
			        	case "小单":
			        		$("#1,#3,#5,#7,#9,#11,#13,#15,#17,#19,#21,#23").css("background-color","orange");
		                       		jine = $("#1,#3,#5,#7,#9,#11,#13,#15,#17,#19,#21,#23").siblings().children("input");
			        	break;
			        	case "小双":
			        		$("#2,#4,#6,#8,#10,#12,#14,#16,#18,#20,#22,#24").css("background-color","orange");
		                       		jine = $("#2,#4,#6,#8,#10,#12,#14,#16,#18,#20,#22,#24").siblings().children("input");
			        	break;
			        	case "家禽":
			        		$("#1,#2,#4,#5,#10,#12,#13,#14,#16,#17,#22,#24,#25,#26,#28,#29,#34,#36,#37,#38,#40,#41,#46 ,#48,#49").css("background-color","orange");
		                       		jine = $("#1,#2,#4,#5,#10,#12,#13,#14,#16,#17,#22,#24,#25,#26,#28,#29,#34,#36,#37,#38,#40,#41,#46 ,#48,#49").siblings().children("input");
			        	break;
			        	case "野兽":
			        		$("#3,#6,#7,#8,#9,#11,#15,#18,#19,#20,#21,#23,#27,#30,#31,#32,#33,#35,#39,#42,#43,#44,#45 ,#47").css("background-color","orange");
		                       		jine = $("#3,#6,#7,#8,#9,#11,#15,#18,#19,#20,#21,#23,#27,#30,#31,#32,#33,#35,#39,#42,#43,#44,#45 ,#47").siblings().children("input");
			        	break;
			        	case "红单大":
			        		$("#29,#35,#45").css("background-color","orange");
		                       		jine = $("#29,#35,#45").siblings().children("input");
			        	break;
			        	case "红单小":
			        		$("#1,#7,#13,#19,#23").css("background-color","orange");
		                       		jine = $("#1,#7,#13,#19,#23").siblings().children("input");
			        	break;
			        	case "红双大":
			        		$("#30,#34,#40,#46").css("background-color","orange");
		                       		jine = $("#30,#34,#40,#46").siblings().children("input");
			        	break;
			        	case "红双小":
			        		$("#2,#8,#12,#18,#24").css("background-color","orange");
		                       		jine = $("#2,#8,#12,#18,#24").siblings().children("input");
			        	break;
			        	case "蓝单大":
			        		$("#25,#31,#37,#41,#47").css("background-color","orange");
		                       		jine = $("#25,#31,#37,#41,#47").siblings().children("input");
			        	break;
			        	case "蓝单小":
			        		$("#3,#9,#15").css("background-color","orange");
		                       		jine = $("#3,#9,#15").siblings().children("input");
			        	break;
			        	case "蓝双大":
			        		$("#26,#36,#42,#48").css("background-color","orange");
		                       		jine = $("#26,#36,#42,#48").siblings().children("input");
			        	break;
			        	case "蓝双小":
			        		$("#4,#10,#14,#20").css("background-color","orange");
		                       		jine = $("#4,#10,#14,#20").siblings().children("input");
			        	break;
			        	case "绿单大":
			        		$("#27,#33,#39,#43,#49").css("background-color","orange");
		                       		jine = $("#27,#33,#39,#43,#49").siblings().children("input");
			        	break;
			        	case "绿单小":
			        		$("#5,#11,#17,#21").css("background-color","orange");
		                       		jine = $("#5,#11,#17,#21").siblings().children("input");
			        	break;
			        	case "绿双大":
			        		$("#28,#32,#38,#44").css("background-color","orange");
		                       		jine = $("#28,#32,#38,#44").siblings().children("input");
			        	break;
			        	case "绿双小":
			        		$("#6,#16,#22").css("background-color","orange");
		                       		jine = $("#6,#16,#22").siblings().children("input");
			        	break;			    	
			        	default:
			        // 与 case 1 和 case 2 不同时执行的代码
			}
			             	$("#fsong").click(function(){
					jine.val($('#fasong').val());
				})
		             })  


		             

		               $("#new1").click(function(){
		             	$("Change").css("background-color","transparent")
		             })

		               
		               $("bfn").click(function(){
		               	$(".left").html("");
		               })
		</script>	

	

	</div>
	</div> 
</body>
</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>